
package com.cmcc.mss.accountanddepartmentservice;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for relationship complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="relationship">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="accountId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="orgid" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="keyStringCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="isLeader" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="isDefault" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="sortNo" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="staffDeptChangeTime" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="retain1" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="retain2" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="retain3" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="retain4" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="retain5" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "relationship", propOrder = {
    "accountId",
    "orgid",
    "keyStringCode",
    "isLeader",
    "isDefault",
    "sortNo",
    "staffDeptChangeTime",
    "retain1",
    "retain2",
    "retain3",
    "retain4",
    "retain5"
})
public class Relationship {

    @XmlElement(required = true, type = Long.class, nillable = true)
    protected Long accountId;
    @XmlElement(required = true, type = Long.class, nillable = true)
    protected Long orgid;
    @XmlElement(required = true, nillable = true)
    protected String keyStringCode;
    @XmlElement(required = true, type = Integer.class, nillable = true)
    protected Integer isLeader;
    @XmlElement(required = true, type = Integer.class, nillable = true)
    protected Integer isDefault;
    @XmlElement(required = true, type = Long.class, nillable = true)
    protected Long sortNo;
    @XmlElement(required = true, nillable = true)
    protected String staffDeptChangeTime;
    @XmlElement(required = true, nillable = true)
    protected String retain1;
    @XmlElement(required = true, nillable = true)
    protected String retain2;
    @XmlElement(required = true, nillable = true)
    protected String retain3;
    @XmlElement(required = true, nillable = true)
    protected String retain4;
    @XmlElement(required = true, nillable = true)
    protected String retain5;

    /**
     * Gets the value of the accountId property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getAccountId() {
        return accountId;
    }

    /**
     * Sets the value of the accountId property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setAccountId(Long value) {
        this.accountId = value;
    }

    /**
     * Gets the value of the orgid property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getOrgid() {
        return orgid;
    }

    /**
     * Sets the value of the orgid property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setOrgid(Long value) {
        this.orgid = value;
    }

    /**
     * Gets the value of the keyStringCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getKeyStringCode() {
        return keyStringCode;
    }

    /**
     * Sets the value of the keyStringCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setKeyStringCode(String value) {
        this.keyStringCode = value;
    }

    /**
     * Gets the value of the isLeader property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getIsLeader() {
        return isLeader;
    }

    /**
     * Sets the value of the isLeader property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setIsLeader(Integer value) {
        this.isLeader = value;
    }

    /**
     * Gets the value of the isDefault property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getIsDefault() {
        return isDefault;
    }

    /**
     * Sets the value of the isDefault property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setIsDefault(Integer value) {
        this.isDefault = value;
    }

    /**
     * Gets the value of the sortNo property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getSortNo() {
        return sortNo;
    }

    /**
     * Sets the value of the sortNo property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setSortNo(Long value) {
        this.sortNo = value;
    }

    /**
     * Gets the value of the staffDeptChangeTime property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStaffDeptChangeTime() {
        return staffDeptChangeTime;
    }

    /**
     * Sets the value of the staffDeptChangeTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStaffDeptChangeTime(String value) {
        this.staffDeptChangeTime = value;
    }

    /**
     * Gets the value of the retain1 property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetain1() {
        return retain1;
    }

    /**
     * Sets the value of the retain1 property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetain1(String value) {
        this.retain1 = value;
    }

    /**
     * Gets the value of the retain2 property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetain2() {
        return retain2;
    }

    /**
     * Sets the value of the retain2 property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetain2(String value) {
        this.retain2 = value;
    }

    /**
     * Gets the value of the retain3 property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetain3() {
        return retain3;
    }

    /**
     * Sets the value of the retain3 property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetain3(String value) {
        this.retain3 = value;
    }

    /**
     * Gets the value of the retain4 property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetain4() {
        return retain4;
    }

    /**
     * Sets the value of the retain4 property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetain4(String value) {
        this.retain4 = value;
    }

    /**
     * Gets the value of the retain5 property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetain5() {
        return retain5;
    }

    /**
     * Sets the value of the retain5 property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetain5(String value) {
        this.retain5 = value;
    }

}
